shave off (the) excess

Translations
убрать излишки
The carpenter had to shave off the excess wood to ensure a perfect fit.
Плотнику пришлось убрать излишки дерева, чтобы обеспечить идеальную посадку.